<div class="fa-box">
    文章分类
    <hr class="layui-bg-green">
    <ul>
        {volist name="cate_list" id="cat"}
        <li>
            <p class="fa-list-nowrap">
                <a href="{:url('index/category/index',['cate_id'=>$cat['category_id']])}">
                    <i class="fa-color-blue layui-icon">&#xe7a0;</i>
                    <span >{$cat.name}</span>
                </a>
            </p>
        </li>
        {/volist}
    </ul>
</div>

